/* CodeBuilder代码生成器 生成时间：2011-12-03 20:03:12 */
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Maticsoft.DBUtility;

namespace Model
{
    /// <summary>
	/// TB_TPermission:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    public class TPermission
    {
        public TPermission()
		{}
        #region Model
        private Int32? _formid;
        private Int32? _roleid;
        private Int64? _permission;
        /// <summary>
		/// 主键(模块编号)
		/// </summary>
        [SqlField("FormID",SqlDbType.Int,4)]
		public Int32? FormID
		{
			set{ _formid = value; }
			get{ return _formid; }
		}
        /// <summary>
		/// 角色ID
		/// </summary>
        [SqlField("RoleID",SqlDbType.Int,4)]
		public Int32? RoleID
		{
			set{ _roleid = value; }
			get{ return _roleid; }
		}
        /// <summary>
		/// 权限掩码和
		/// </summary>
        [SqlField("Permission",SqlDbType.BigInt,8)]
		public Int64? Permission
		{
			set{ _permission = value; }
			get{ return _permission; }
		}
        #endregion Model
    }
}